package com.wawayaya.api.interf;


import com.wawayaya.api.ApiResponseData;

/**
 *
 * Created by Administrator on 2015/7/5.
 */
public interface ApiResponseJsonListener {
    /**
     * success : falg:1
     *
     * @param <T>
     */
    public void success1(ApiResponseData result);

    /**
     * success : falg:0
     *
     * @param <T>
     */
    public void success0(ApiResponseData result);

    /**
     * 错误
     */
    public void error(ApiResponseData result);
}
